import { defineStore } from "pinia";
export interface IUserState {
    token: string;
    username: string;
    avatar: string;
    permissions: string[];
    userinfo: Object;
}
export const useUserStore = defineStore("useUserStore", {
  state: (): IUserState => ({
    token: "",
    username: "",
    avatar: "",
    permissions: [],
    userinfo: {},
  }),
  getters: {},
  actions: {},
});

